package ooday01;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/2/21
 **/
public class Cartext {
    public static void main(String[] args) {
        car car1=new car();
        car1.brand="xl";
        car1.color="hong";
        car1.price=50;
        car1.start();
        car1.run();
        car1.stop();
        car car2=new car("xl","yin",50);
        car2.start();
        car2.run();
        car2.stop();

    }
}
